package com.yaowk.api.system.service;

import com.yaowk.api.common.IBaseService;
import com.yaowk.api.system.model.Menu;

import java.util.List;

public interface IMenuService extends IBaseService<Menu, Integer> {
    List<Menu> findMenusByRoleId(Integer roleId);

    List<Menu> findMenusByUserId(Integer userId);

    List<Menu> findMenusConfigByUserId(Integer userId);

    void permissionEdit(Integer menuId,List<Integer> permissionIds);

    List<String> findAliases(Menu menu);
}
